export abstract class IBuffer {
  async readRaw(): Promise<Uint8Array> {
    return Promise.resolve(new Uint8Array())
  }
}

export class FileBuffer implements IBuffer {
  filePath: string = "";

  constructor(filePath: string) {
  }

  async feed() {

  }

  async end() {

  }

  async readRaw() {
    return Promise.resolve(new Uint8Array())
  }
}